<?php
    /**
     * Created by PhpStorm.
     * User: lance
     * Date: 2017/11/1
     * Time: 16:59
     */
    return [
        //领导日志
        'leader_log' => [
            ['__INDEX__', '序号'],
            ['department','部门'],
            ['name', '姓名'],
            ['sex', '性别'],
            ['number', '柜员号'],//柜员号
            ['action', '说明', '', '', [
                1 => '管理员手动添加领导',
                2 => '管理员手动更新领导',
            ]],
            ['time', '操作时间', 'datetime'],
            ['status','状态','','',[
                0 => '失败',
                1 => '成功'
            ]],
            ['right_button', '操作'],
        ],
        //客户经理日志
        'manager_log' => [
            ['__INDEX__', '序号'],
            ['department','部门'],
            ['name', '姓名'],
            ['sex', '性别'],
            ['number', '柜员号'],//柜员号
            ['action', '说明', '', '', [
                1 => '管理员手动添加客户经理',
                2 => '领导手动添加客户用户',

                3 => '管理员批量导入客户经理',
                4 => '领导批量导入客户经理',

                5 => '管理员手动更新客户经理',
                6 => '领导手动更新客户经理',
                7 => '管理员批量更新客户经理',
                8 => '领导批量更新客户经理',
            ]],
            ['time', '操作时间', 'datetime'],
            ['status','状态','','',[
                0 => '失败',
                1 => '成功'
            ]],
            ['right_button', '操作'],
        ],

        //客户日志
        'customer_log' => [
            ['__INDEX__','序号'],
            ['name','姓名'],
            ['sex','性别'],
            ['cert_type','证件类型'],
            ['cert_number','证件号码'],
            ['action','说明','','',[
                1 => '管理员手动添加客户',
                2 => '领导手动添加客户',
                3 => '客户经理手动添加客户',

                4 => '管理员批量导入用户',
                5 => '领导批量导入用户',
                6 => '客户经理批量导入用户',

                7 => '管理员手动更新客户',
                8 => '领导手动更新客户',
                9 => '客户经理手动更新客户',

                10 => '管理员批量更新客户',
                11 => '领导批量更新客户',
                12 => '客户经理批量更新客户',
            ]],
            ['time', '操作时间', 'datetime'],
            ['status','状态','','',[
                0 => '失败',
                1 => '成功'
            ]],
            ['right_button', '操作'],
        ],
        //客户分配日志
        'distribute_log' => [
            ['__INDEX__','序号'],
            ['customer','客户'],
            ['manager','经理'],
            ['time','操作时间','datetime'],
            ['status','状态','','',[
                0 => '失败',
                1 => '成功'
            ]],
            ['message','备注'],
            ['error','错误提示'],
            ['right_button', '操作'],
        ],
    ];
